{
# This is the template for .tdd file. Make changes in this file.
# A changed version of it converted to .tdd format and input to fmpp in tdd/src/data directory
#Author in the copyright notice
Author:"Raman Rawat"
#Framework/Workspacename
Workspace:HAPForayWS
#All files/dir will start from this Triagram
TriaGram:HAP
SuperType:GSMGeom
# File Names will be $Triagram-X-$Prefix - where X is I,E or ""
Prefix:Fiz
#Late Type String
LateType:BigSphere
Attributes:[
	{name:Points					, type:tklist_spec		, facet:sp_IN		, list:y, IID:IID_CATIMfZeroDimResult, 	UI:BiList}
	{name:SupportSurfaces	, type:tklist_component, facet:sp_NEUTRAL			,list:y,  IID:IID_CATIMfBiDimResult	, 	UI:List	}
	{name:Point					, type:tk_spec			, facet:sp_IN			, list:n, IID:IID_CATIMfZeroDimResult, 	UI:List   }
	{name:SupportSurface		, type:tk_component 	, facet:sp_IN			, list:n, IID:IID_CATIMfBiDimResult, 		UI:List	 }
	{name:Name					, type:tk_string			, facet:sp_NEUTRAL	, list:n, IID:"", UI:Combo}
	{name:Tolerance			, type:tk_double			, facet:sp_NEUTRAL		, list:n, IID:"", UI:Editor	 }
	{name:Count					, type:tk_int  				, facet:sp_NEUTRAL	, list:n, IID:"", UI:RadioButton	 }
	{name:Active					, type:tk_boolean		, facet:sp_NEUTRAL	, list:n, IID:"", UI:Checkbox	 }
	{name:Names				, type:tklist_string		, facet:sp_IN			, list:y, IID:"", UI:Editor	 }
	{name:Tolerances			, type:tklist_double		, facet:sp_NEUTRAL	, list:y, IID:"", UI:Param	 }
	{name:Counts				, type:tklist_int  		, facet:sp_NEUTRAL		, list:y, IID:"", UI:""	 }
]

#Interfaces to implement. All interfaces have CATPrepended to them
# Implementation of CATIMechanicalProperties will produce file name = TriaGram + "E" + Prefix + LateType + Interfaces.postFix
Interfaces:[
	{name:IMechanicalProperties		, req:y, postFix:MechProp 		,baseClass:"", dir:"PublicInterfaces"}
	{name:I3DBehaviour				, req:y, postFix:3DBehav 			,baseClass:"", dir:"PublicInterfaces"}
	{name:IBuild					, req:y, postFix:Build 				,baseClass:"", dir:"LocalInterfaces"}
	{name:ICCPable					, req:y, postFix:CCPable 			,baseClass:"", dir:"LocalInterfaces"}
	{name:IMechanicalCCP			, req:y, postFix:MechCCP 			,baseClass:"", dir:"LocalInterfaces"}
	{name:IReplace 					, req:y, postFix:Replace 			,baseClass:"CATSpecReplaceExt", dir:"LocalInterfaces"}
	{name:IAttrBehavior 			, req:y, postFix:AttrBehav 		,baseClass:"", dir:"LocalInterfaces"}
	{name:IInputDescription 		, req:y, postFix:InputDesc 		,baseClass:"", dir:"LocalInterfaces"}
	{name:INavigateObject			, req:y, postFix:NavigateObject ,baseClass:"", dir:"LocalInterfaces"}
	{name:IEdit						, req:y, postFix:Edit					, baseClass:"CATExtIEdit", dir:"LocalInterfaces"}
	{name:IIcon						, req:y, postFix:Icon				, baseClass:"", dir:"LocalInterfaces"}
	{name:IContextualSubMenu		, req:y, postFix:CtxSubMenu		, baseClass:"", dir:"LocalInterfaces"}
	{name:IContextualMenu 			, req:y, postFix:CtxMenu			, baseClass:"CATExtIContextualMenu ", dir:"LocalInterfaces"}
]

#don't change the following lines
#[[[cog
#UuidCPP:"UuidValue"
#UuidIID:"UuidIIDValue"
#UuidFactoryCPP:"UuidFactoryValue"
#UuidFactoryIID:"UuidFactoryIIDValue"
#UuidIDL:"UuidIDLValue"
#UuidIDLFactory:"UuidIDLFactoryValue"
#UuidTypeLib:"UuidTypeLibValue"
#########

import cog
import CAAUuidGen

fnames = ['Uuid', 'UuidFactory', 'UuidIDL', 'UuidIDLFactory', 'UuidTypeLib']
for fn in fnames:
	caauid = CAAUuidGen.CAAUuid()    
	newStr = caauid.GetTransformed()
	newStr = "\"" + newStr + "\"" 
	cog.outl( "%sIID:%s" % (fn, caauid.strUid))
	cog.outl( "%sCPP:%s" % (fn, newStr))
#]]]
#[[[end]]]
########

}
